﻿#region File Description
///------------------------------------------------------------------
/// Program		  :	Algorithm With Graph
/// Written by	  :	Nguyen Khac Trung, Le Hoang Tuan
/// Email		  :	nkt1321991@gmail.com || hoangtuanuit@gmail.com
/// File Name     : SelectnamePointWindow.cs
/// Created date  :	10/11/2011
/// Modified by	  :	Nguyen Khac Trung
/// Modified date :	11/11/2011
/// Version		  :	1.2
/// Description	  :	Declare my class Point
///------------------------------------------------------------------
#endregion

#region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.IO;
using System.Diagnostics;
using System.Runtime.Serialization.Formatters.Binary;
#endregion

namespace Graph
{
    /// <summary>
    /// Interaction logic for WindowSelectNamePoint.xaml
    /// </summary>
    /// 
    public partial class WindowSelectNamePoint : Window
    {

        #region Initialization

        public WindowSelectNamePoint()
        {
            InitializeComponent();
        }

        #endregion

        #region Process

        private void btnOK_Click(object sender, RoutedEventArgs e)
        {
            this.Tag = cmbNamePoint.Text;
            this.Close();
        }

        private void btnCancel_Click(object sender, RoutedEventArgs e)
        {
            this.Tag = "none";
            this.Close();
        }

        #endregion
        
    }
}
